
package com.he.demo.service.yyt;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the com.he.demo.service.yyt package. 
 * &lt;p&gt;An ObjectFactory allows you to programatically 
 * construct new instances of the Java representation 
 * for XML content. The Java representation of XML 
 * content can consist of schema derived interfaces 
 * and classes representing the binding of schema 
 * type definitions, element declarations and model 
 * groups.  Factory methods for each of these are 
 * provided in this class.
 * 
 */
@XmlRegistry
public class ObjectFactory {

    private final static QName _GetPatients_QNAME = new QName("http://yyt.service.demo.he.com", "GetPatients");
    private final static QName _GetPatients2_QNAME = new QName("http://yyt.service.demo.he.com", "GetPatients2");
    private final static QName _GetPatients2Response_QNAME = new QName("http://yyt.service.demo.he.com", "GetPatients2Response");
    private final static QName _GetPatientsResponse_QNAME = new QName("http://yyt.service.demo.he.com", "GetPatientsResponse");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.he.demo.service.yyt
     * 
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link GetPatients }
     * 
     */
    public GetPatients createGetPatients() {
        return new GetPatients();
    }

    /**
     * Create an instance of {@link GetPatients2 }
     * 
     */
    public GetPatients2 createGetPatients2() {
        return new GetPatients2();
    }

    /**
     * Create an instance of {@link GetPatients2Response }
     * 
     */
    public GetPatients2Response createGetPatients2Response() {
        return new GetPatients2Response();
    }

    /**
     * Create an instance of {@link GetPatientsResponse }
     * 
     */
    public GetPatientsResponse createGetPatientsResponse() {
        return new GetPatientsResponse();
    }

    /**
     * Create an instance of {@link Req }
     * 
     */
    public Req createReq() {
        return new Req();
    }

    /**
     * Create an instance of {@link Res }
     * 
     */
    public Res createRes() {
        return new Res();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetPatients }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link GetPatients }{@code >}
     */
    @XmlElementDecl(namespace = "http://yyt.service.demo.he.com", name = "GetPatients")
    public JAXBElement<GetPatients> createGetPatients(GetPatients value) {
        return new JAXBElement<GetPatients>(_GetPatients_QNAME, GetPatients.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetPatients2 }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link GetPatients2 }{@code >}
     */
    @XmlElementDecl(namespace = "http://yyt.service.demo.he.com", name = "GetPatients2")
    public JAXBElement<GetPatients2> createGetPatients2(GetPatients2 value) {
        return new JAXBElement<GetPatients2>(_GetPatients2_QNAME, GetPatients2 .class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetPatients2Response }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link GetPatients2Response }{@code >}
     */
    @XmlElementDecl(namespace = "http://yyt.service.demo.he.com", name = "GetPatients2Response")
    public JAXBElement<GetPatients2Response> createGetPatients2Response(GetPatients2Response value) {
        return new JAXBElement<GetPatients2Response>(_GetPatients2Response_QNAME, GetPatients2Response.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link GetPatientsResponse }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link GetPatientsResponse }{@code >}
     */
    @XmlElementDecl(namespace = "http://yyt.service.demo.he.com", name = "GetPatientsResponse")
    public JAXBElement<GetPatientsResponse> createGetPatientsResponse(GetPatientsResponse value) {
        return new JAXBElement<GetPatientsResponse>(_GetPatientsResponse_QNAME, GetPatientsResponse.class, null, value);
    }

}
